package com.king01.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class SysOperLog02 implements Serializable {

    private Integer sid;
    private Integer staffid;
    private String staffname;
    private String branchname;
    private String deptname;
    private String rolename;
    private Integer branchid;
    private Integer deptid;
    private Integer roleid;
    private Integer newbranchid;
    private String newbranchname;
    private Integer newdeptid;
    private String newdeptname;
    private Integer newroleid;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")  //接受请求参数的时间格式
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") //把响应的日期json转为为相应的格式
    private Date transfertime;
    private Integer transferper;
   private String transferpername;


}
